/* 欢迎区域 */
.welcome-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.welcome-section h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #fff;
}

.welcome-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 0;
}

/* 数据统计卡片网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
    display: flex;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-right: 20px;
}

.stat-icon.bg-blue {
    background-color: #1890ff;
}

.stat-icon.bg-green {
    background-color: #52c41a;
}

.stat-icon.bg-purple {
    background-color: #722ed1;
}

.stat-icon.bg-orange {
    background-color: #fa8c16;
}

.stat-content h3 {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
    font-weight: normal;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* 近期预约区域 */
.recent-bookings {
    margin-bottom: 30px;
}

.recent-bookings h2 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #333;
}

.booking-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.booking-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.booking-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.booking-info h3 {
    color: #1890ff;
    margin-bottom: 12px;
    font-size: 18px;
}

.booking-info p {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.booking-info p i {
    margin-right: 8px;
    color: #999;
}

.booking-actions {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

/* 仪表盘网格布局 */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.dashboard-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.dashboard-card h2 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #333;
}

/* 图表容器 */
.chart-container {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
}

.chart-placeholder {
    text-align: center;
    color: #999;
}

.chart-placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
}

.chart-placeholder p {
    margin: 0;
    font-size: 16px;
}

/* 推荐区域 */
.recommendations {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recommend-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 6px;
    transition: all 0.3s;
}

.recommend-item:hover {
    background-color: #f0f9ff;
    border-color: #91d5ff;
    transform: translateX(5px);
}

.recommend-item i {
    color: #52c41a;
    font-size: 18px;
    margin-right: 10px;
}

.recommend-item span {
    color: #333;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .welcome-section {
        padding: 30px 20px;
    }

    .welcome-section h1 {
        font-size: 24px;
    }

    .welcome-section p {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .stat-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .booking-cards {
        grid-template-columns: 1fr;
    }

    .booking-card {
        padding: 15px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card {
        padding: 15px;
    }

    .chart-container {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .stat-number {
        font-size: 24px;
    }

    .chart-container {
        height: 200px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.booking-card,
.dashboard-card {
    animation: fadeInUp 0.6s ease-out;
}

.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

.booking-card:nth-child(1) {
    animation-delay: 0.2s;
}

.booking-card:nth-child(2) {
    animation-delay: 0.3s;
}

.dashboard-card:nth-child(1) {
    animation-delay: 0.4s;
}

.dashboard-card:nth-child(2) {
    animation-delay: 0.5s;
}